package model

type DbTowerRank struct {
	Uid           int32   `gorm:"column:uid"`             // uid
	NickName      string  `gorm:"column:nick_name"`       // 昵称
	Rank          int32   `gorm:"column:rank"`            // 排名
	RankPercent   float32 `gorm:"column:rank_percent"`    // 排名百分比
	TowerArea     int32   `gorm:"column:tower_area"`      // 当前爬塔区域
	TowerLevel    int32   `gorm:"column:tower_level"`     // 当前已通关爬塔关卡
	TowerPassTime int64   `gorm:"column:tower_pass_time"` // 爬塔通关时间
}

func (d DbTowerRank) TableName() string {
	return "tower_rank"
}

type DbUserDataCut struct {
	Uid           int32   `gorm:"column:uid"`             // uid
	NickName      string  `gorm:"column:nick_name"`       // 昵称
	Rank          int32   `gorm:"column:rank"`            // 排名
	RankPercent   float32 `gorm:"column:rank_percent"`    // 排名百分比
	TowerArea     int32   `gorm:"column:tower_area"`      // 当前爬塔区域
	TowerLevel    int32   `gorm:"column:tower_level"`     // 当前已通关爬塔关卡
	TowerPassTime int64   `gorm:"column:tower_pass_time"` // 爬塔通关时间
}

func (d DbUserDataCut) TableName() string {
	return "user_data"
}
